package view;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.ComboBox;
import javafx.stage.Stage;

import java.io.IOException;

public class ChangeInfo extends Application {
    @Override
    public void start(Stage primaryStage) throws IOException {
        Parent parent = FXMLLoader.load(getClass().getResource("fxml/changeInformation.fxml"));
        ComboBox gender = (ComboBox)parent.lookup("#gender");
        gender.getItems().addAll("男","女");
        primaryStage.setTitle("修改个人资料");
        primaryStage.setScene(new Scene(parent,400,600));
        primaryStage.setResizable(false);
        primaryStage.show();
    }
}
